<template>
  <div style="width: 100%">
    <v-details :inputConfig="inputConfig"
               :detailData='inputData.detailData'></v-details>

  </div>
</template>

<script>
import baseMixin from "@/mixins/BaseMixin";
import skipMixin from "@/mixins/SkipMixin";
import details from '@/components/commons/Detail'

export default {
  name: "",
  mixins: [baseMixin, skipMixin],
  props: {
    inputData: {
      type: Object
    }
  },
  data () {
    return {
      dialogTableVisible: false,
      rules: {
      },
      choseFormData: {}
    };
  },
  computed: {
    inputConfig () {
      return [
        [
          {
            label: this.$t('in.excipientsnum'),
            props: "excipientsnum",
            type: "input",
          },
          {
            label: this.$t('in.materialgrade'),
            props: "materialgrade",
            type: "input",
          },
          {
            label: this.$t('in.badratio'),
            props: "badratio",
            type: "input",
          },
        ],
        [
          {
            label: this.$t('in.allowratio'),
            props: "allowratio",
            type: "input",
          },
          {
            label: this.$t('in.materialquantity'),
            props: "materialquantity",
            type: "input",
          },
          {
            label: this.$t('in.rtxdl'),
            props: "rtxdl",
            type: "input",
          },]

      ]
    },
  },
  created () {
  },
  methods: {

  },
  mounted () {
  },
  watch: {

  },
  components: {
    'v-details': details,
  },

}
</script>

<style scoped>
</style>
